<style type="text/css">
.button{
	font-weight: bold;
	padding: 3px;
	border: solid 1px #FF0000;
}
.errors{
	border: solid 1px #FF0000;
	padding: 3px;
}
</style>
<?php
	$file = 'shopping/index/add/catID/10';
	echo '<br><br>' .	$this->baseUrl($file);
//	$option = array("Guest", "Member", "Manager", "Admin");
	$option = array('guest'=>"Guest", "member"=>"Member", "manager"=>"Manager", "admin"=>"Admin");
	
	echo '<br><br>' .	$this->formMultiCheckbox('group', array('guest', 'member', 'manager'), array(), $option);
	echo '<br><br>' .	$this->formTextarea('content', 'This is a test', array("rows"=> 6, "cols"=>50));
	echo '<br><br>' .	$this->formText('email', '', array("style"=>'width:250px;'));

	echo '<br><br>' .	$this->formSubmit('submit-button', 'Send Value', 
										array('class'=>'button',
											'style'=>'width : 150px;'
										));
	
	echo '<br><br>' .	$this->formSelect('group', null, null, $option);
	echo '<br><br>' .	$this->formSelect('group', null, array('size'=>'10', 'style'=>'width:250px;'), $option);
	
	echo '<br><br>' .	$this->formReset('reset-button', 'Clear-form', 
										array('class'=>'button',
											'style'=>'width : 150px;',
											'onclick'=>'goToURL()'
										));

	echo '<br><br>' .	$this->formRadio('member_group', 3, null, $option , ' ');
	echo '<br><br>' .	$this->formPassword('password', '', array("style"=>'width:150px;'));
	echo $imgUrl = $this->baseUrl('/public/templates/admin/system/images/j_joomla_box.jpg');
//	echo $imgUrl = $this->baseUrl() . '/public/templates/admin/system/images/j_joomla_box.jpg';
	echo '<br><br>' .	$this->formImage('myImage', 'myImage', array("src"=>$imgUrl));
	echo '<br><br>' .	$this->FormHidden('code_security');
	echo '<br><br>' .	$this->FormFile('picture', array('style'=>'width:150px;'));

	$arrError = array(
					'User name cua ban khong dung',
					'Yeu cau ban nhap du ngay thang nam sinh',
					'Yeu cau chon thanh pho noi ban song'
					);
	echo $this->formErrors($arrError);
	
	echo '<br><br>' .	$this->FormCheckbox('admin','1') . 'Admin' . 
						$this->FormCheckbox('manager','1') . 'Manager' . 
						$this->FormCheckbox('member','1') . 'Member';
	
	$serverUrl = $this->serverUrl();
	
	echo '<br>' . $serverUrl;

	$urlOptions = array('module'=>'default',
						'controller'=>'index',
						'action'=> 'view');
	$urlOptions = array('module'=>'default',
						'controller'=>'index',
						'action'=> 'view',
						'catID'=> 10,
						'productID'=>'20');
	
	echo '<br>' . $this->url($urlOptions);
	
	echo '<br><br>' . $this->formButton('gui-du-lieu','Gui Du Lieu', 
										array(	'class'=>'button',
												'style'=>'width : 150px;',
												'onclick'=>'goToURL()'
										));
?>